import { request } from "../utils/request";

// 绑定设备

export function bindDevice(data) {
  return request("/skip/device/bind", data, "post");
}

export function getBindDeviceList(params) {
  return request("/skip/device/list", params, "get");
}

export function updateDevice(data) {
  return request("/skip/device/device.status", data, "post");
}

export function getDeviceInfo(params) {
  return request("/skip/device/device.info", params, "get");
}

export function bindDeviceSN(data) {
  return request("/skip/device/sn.update", data, "post");
}
